<div class="tab-a list-all w1214">
{php}$gb_list=zanpian_mysql_gb('limit:'.$userconfig['user_gbnum'].';page:true;order:gb_addtime desc');{/php}
<div class="gb-left" id="contents">
{notempty name="gb_list"}
{volist name="gb_list" id="zanpian"}
{php}$lou=$gb_list[0]['page']['pagecount']-(($page-1) * $userconfig['user_gbnum'] + $key);{/php}	
<!-- gb-show-list -->
<div class="gb-show-list">
<div class="gb-show-l">{empty name="zanpian.userid"}<span class="gb-number">{$lou}</span>条留言{else/}<a href="{$zanpian.user_homeurl}" target="_blank"><img src="{$zanpian.user_imageurl.small}" title="{$zanpian.gb_nickname}"/></a>{/empty}</div>
<div class="gb-show-r">
<div class="gb-cont">
<div class="gb-arrow"></div>
<div class="gb-title"><h3>{empty name="zanpian.userid"}游客:{$zanpian.gb_nickname}{else/}<a href="{$zanpian.user_homeurl}">{$zanpian.nickname}</a>{/empty}</h3><span>{$zanpian.gb_addtime|date='Y-m-d H:i:s',###}</span></div>
<div class="gb-txt">{$zanpian.gb_content|htmlspecialchars|remove_xss}</div>
{notempty name="zanpian.gb_intro"}
<!-- gb-admin -->
<div class="gb-admin">
<div class="gb-admin-tab">
<div class="gb-arrow-t"></div>
<div class="gb-admin-title"><h3>管理员回复</h3></div>
<div class="gb-txt">{$zanpian.gb_intro}</div>
</div>
</div>
<!-- gb-admin -->
{/notempty}
</div>
</div>
</div>
<!-- gb-show-list -->
 {/volist}
 {else/}
<div class="kong">抱歉，没有相关留言！</div>
 {/notempty}
{notempty name="gb_list"}
<div class="uipages pages" id="long-page"><ul class="pagination"><span class="total">共{$gb_list.0.page.pagecount}条留言&nbsp;页次:{$gb_list.0.page.currentpage}/{$gb_list.0.page.totalpage}页</span>{$gb_list.0.page.pageurl}</ul>
</div>
{/notempty}
</div>
</div>